

<div class="aw-content-wrap">
    <form action="{:U('Admin/Site/revise')}" id="settings_form" method="post"">
        <div class="mod">
            <div class="mod-head">
                <h3>
                    <span class="pull-left">站点信息</span>

                    <span class="pull-right"><a href="javascript:;" onclick="AWS.ajax_post($(&#39;#settings_form&#39;));" class="btn btn-xs btn-primary mod-site-save">快速保存</a></span>
                </h3>
            </div>
            <div class="tab-content mod-content">
                <table class="table table-striped">
                    <tbody><tr>
                        <td>
                            <div class="form-group">
                                <span class="col-sm-4 col-xs-3 control-label">网站名称:</span>
                                <div class="col-sm-5 col-xs-8">
                                    <input type="text" class="form-control" name="websitename" value="{$site['websitename']}">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="form-group">
                                <span class="col-sm-4 col-xs-3 control-label">网站简介:</span>
                                <div class="col-sm-5 col-xs-8">
                                    <textarea class="form-control textarea" rows="4" name="sitelntro">{$site['sitelntro']}</textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="form-group">
                                <span class="col-sm-4 col-xs-3 control-label">网站关键词:</span>
                                <div class="col-sm-5 col-xs-8">
                                    <textarea class="form-control textarea" rows="4" name="keyword">{$site['keyword']}</textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="form-group">
                                <span class="col-sm-4 col-xs-3 control-label">网站 ICP 备案号:</span>
                                <div class="col-sm-5 col-xs-8">
                                    <input name="icp" class="form-control" type="text" value="{$site['icp']}">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <!--<tr>-->
                        <!--<td>-->
                            <!--<div class="form-group">-->
                                <!--<span class="col-sm-4 col-xs-3 control-label">上传目录外部访问 URL 地址:</span>-->
                                <!--<div class="col-sm-5 col-xs-8">-->
                                    <!--<input name="upload_url" class="form-control" type="text" value="http://127.0.0.1/wenda/uploads">-->

                                    <!--<span class="help-block">末尾不带 / 或 \</span>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>-->
                            <!--<div class="form-group">-->
                                <!--<span class="col-sm-4 col-xs-3 control-label">上传文件存放绝对路径</span>-->
                                <!--<div class="col-sm-5 col-xs-8">-->
                                    <!--<input name="upload_dir" class="form-control" type="text" value="F:/wamp/www/wenda/uploads">-->

                                    <!--<span class="help-block">末尾不带 / 或 \，目前网站根目录绝对路径：F:\wamp\www\wenda/</span>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</td>-->
                    <!--</tr>-->
                    <!--<tr>-->
                        <!--<td>-->
                            <!--<div class="form-group">-->
                                <!--<span class="col-sm-4 col-xs-3 control-label">static 目录资源 URL 地址</span>-->
                                <!--<div class="col-sm-5 col-xs-8">-->
                                    <!--<input name="img_url" class="form-control" type="text" value="">-->

                                    <!--<span class="help-block">末尾不带 / 或 \，留空使用根目录下的 static 资源</span>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</td>-->
                    <!--</tr>-->
                    </tbody></table>
            </div>

            <div class="tab-content mod-content mod-one-btn">
                <div class="center-block">
                    <input type="submit" value="保存设置" class="btn btn-primary"">
                </div>
            </div>
        </div>
    </form>
</div>

